home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Information / CSMP Digest / volume 1 / csmp-v1-134.txt < prev    next >
Encoding:
Text File  |  1994-12-08  |  44.4 KB  |  1,145 lines  |  [TEXT/R*ch]

  1. C.S.M.P. Digest             Mon, 06 Jul 92       Volume 1 : Issue 134
  2.  
  3. Today's Topics:
  4.  
  5.     Better Unowned Document Identification (was Re: StuffIt 3.0)
  6.     NEW Inside Macintosh
  7.     THINK P - Making an App Drag-n-Drop'able
  8.     Problems in rebuilding MacApp -debug
  9.     'Application Zone is Damaged'
  10.     System fonts and scripts
  11.     flushing the sys7 disk cache?
  12.     Toolserver for MPW
  13.     Max files shown in GetFile dialog and Mac video?
  14.  
  15.  
  16.  
  17. -------------------------------------------------------
  18.  
  19. From: daven@notable.com (Dave Newman)
  20. Subject: Better Unowned Document Identification (was Re: StuffIt 3.0)
  21. Date: Sun, 31 May 92 21:22:34 PST
  22. Organization: Notable Technologies, Inc.
  23.  
  24.  
  25. In article <D2150039.4p284f@udwarf.tymnet.com> (comp.sys.mac.apps), carl@udwarf.tymnet.com (Carl Baltrunas & Cherie Marinelli 1.5v4) writes:
  26. | I don't know that users "care" all that much.  But, If I have a document that
  27. | was written in MS Word and I want to read it in WordPerfect, or some other
  28. | word processor program, I can't double-click on it.  I can't even easily tell
  29. | my system that when I double click on a Word document run this other thing...
  30. | (without understudy, that is) and if Word exists on my system, I don't know if
  31. | understudy is even invoked... I thought it was only IF the document processor
  32. | is NOT present.
  33. | Anyway, since the creator/type very often says WHAT is going to be called up
  34. | when you want something else... and what mode to read the file, it is important.
  35. | Even on mainframes... the idea of type has been present for years....  The Mac
  36. | has come a long way in some senses.. with TEXT and PICT resources that can be
  37. | read by many different programs.
  38. | But, it's not there yet that everything can read everything else... so creator
  39. | and type are of concern for awhile yet to come....
  40.  
  41. Let me clarify my point. The present scheme is not sufficient for
  42. most people.
  43.  
  44. I can't believe that 'WDBN' or 'DFBC' are really meaningful to people.
  45. Who would want to carry around in their skull a list of these 4 letter
  46. codes.
  47.  
  48. The scheme we have, has been lazily adopted from the OS's internal
  49. mechanism for tracking file ownership and type. I don't believe it
  50. was ever Apple's intention to have people (other than programmers)
  51. aware of these codes.
  52.  
  53. Because Apple and us programmers were, in hindsight, lazy about this,
  54. the scheme has been pushed onto our customers. Now they have to contend
  55. with cryptic 4 letter codes to identify documents when the Finder
  56. is unable to do so.
  57.  
  58. One possible way to begin dealing with this in the future is to put
  59. written descriptions of the file in an Apple specified resource within
  60. the file's resource fork. (i.e. "Word 4.0 Document", or "MicroPhone II
  61. v4.0 Document") This would give a future version of the Finder
  62. a last ditch method of identifying the document type when the owning
  63. application can't be found. The Finder would present this info to
  64. the user so that they may determine what to do with the file.
  65.  
  66. Let the current scheme stand, we have only DOS-like schemes to fall back
  67. to at present, but let's please think about making the situation easier
  68. for the rest of us.
  69.  
  70. - --Dave
  71.  
  72. - -----------------------------------------------------------
  73. Dave Newman                 |  AOL:      AFC Tinman
  74. Artillery Spotter           |  CIS:      70743,3323
  75. Notable Technologies, Inc.  |  internet: daven@notable.com
  76. 510.208.4449                |  FAX:      510.444.4493
  77. - -----------------------------------------------------------
  78.  
  79. +++++++++++++++++++++++++++
  80.  
  81. From: chandhok+@cs.cmu.edu (Ravinder Chandhok)
  82. Date: 1 Jun 92 14:46:36 GMT
  83. Organization: School of Computer Science, Carnegie Mellon
  84.  
  85. In article 40233 daven@notable.com writes:
  86. >...
  87. >One possible way to begin dealing with this in the future is to put
  88. >written descriptions of the file in an Apple specified resource within
  89. >the file's resource fork. (i.e. "Word 4.0 Document", or "MicroPhone II
  90. >v4.0 Document") This would give a future version of the Finder
  91. >a last ditch method of identifying the document type when the owning
  92. >application can't be found. The Finder would present this info to
  93. >the user so that they may determine what to do with the file.
  94.  
  95. Uh.  Read Inside Mac Volume VI - there are two STR resources you can stuff
  96. into a document. Id -16396 is the name of the application that created the
  97. doc, and -16397 is a custom message to display if the app is not found.  See
  98. pages 9-21,9-22.
  99.  
  100. The future is today!
  101. - -- 
  102. Ravinder (Rob) Chandhok              Internet : chandhok+@cs.cmu.edu
  103. Carnegie Mellon University           AppleLink: A14
  104.  
  105. +++++++++++++++++++++++++++
  106.  
  107. From: jeremyr@dcs.qmw.ac.uk (Jeremy Roussak)
  108. Date: 1 Jun 92 18:51:46 GMT
  109. Organization: Computer Science Dept, QMW, University of London
  110.  
  111. In <01058004.4tt0pv@oberon.notable.com> daven@notable.com (Dave Newman)
  112. writes:
  113.  
  114. >One possible way to begin dealing with this in the future is to put
  115. >written descriptions of the file in an Apple specified resource within
  116. >the file's resource fork. (i.e. "Word 4.0 Document", or "MicroPhone II
  117. >v4.0 Document") This would give a future version of the Finder
  118. >a last ditch method of identifying the document type when the owning
  119. >application can't be found. The Finder would present this info to
  120. >the user so that they may determine what to do with the file.
  121.  
  122. This scheme already exists under system 7. If you include a STR
  123. resource, id -16396, this is taken to be the name of the
  124. application for the "this doc couldn't be opened" Finder alert.
  125. You can also customise the alert completely.
  126.  
  127. See IM VI, 9-21 to 22
  128.  
  129. Jeremy
  130.  
  131. +++++++++++++++++++++++++++
  132.  
  133. From: d88-jwa@dront.nada.kth.se (Jon W{tte)
  134. Organization: Royal Institute of Technology, Stockholm, Sweden
  135. Date: Mon, 1 Jun 1992 20:56:46 GMT
  136.  
  137. .com> daven@notable.com (Dave Newman) writes:
  138.  
  139.    Who would want to carry around in their skull a list of these 4 letter
  140.    codes.
  141.  
  142. Hey, it's better than a dot and three letters... :-)
  143.  
  144.    One possible way to begin dealing with this in the future is to put
  145.    written descriptions of the file in an Apple specified resource within
  146.    the file's resource fork. (i.e. "Word 4.0 Document", or "MicroPhone II
  147.    v4.0 Document") This would give a future version of the Finder
  148.  
  149. That way has already been defined for system 7. It's in Inside Mac.
  150. Let's hope people start using it !
  151.  
  152. - -- 
  153. h++ - new and improved !
  154.  
  155. A Bus Station is where buses stop. A Train Station is where
  156. trains stop. On my desk, there is a Work Station.
  157.  
  158. +++++++++++++++++++++++++++
  159.  
  160. From: mspace@netcom.com (Brian Hall)
  161. Date: Mon, 01 Jun 92 20:18:37 GMT
  162. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  163.  
  164. daven@notable.com (Dave Newman) writes:
  165. >One possible way to begin dealing with this in the future is to put
  166. >written descriptions of the file in an Apple specified resource within
  167. >the file's resource fork. (i.e. "Word 4.0 Document", or "MicroPhone II
  168. >v4.0 Document") This would give a future version of the Finder
  169. >a last ditch method of identifying the document type when the owning
  170. >application can't be found. The Finder would present this info to
  171. >the user so that they may determine what to do with the file.
  172.  
  173. The current finder (Sys7) already supports that.  You can put a resource
  174. in any file that identifies the app that created it.  You can also put
  175. a custom icon, ballon help, etc, that the finder will make use of.
  176.  
  177.  
  178. - -- 
  179.  
  180.  \ | /   | Brian Hall                 mspace@netcom.com
  181.  - : -   | Mark/Space Softworks       Applelink: markspace
  182.   /|\    |                            America Online: MarkSpace
  183.  |-+-|   |
  184. /-\|/-\  | People don't kill people, toasters kill people.
  185.  
  186. +++++++++++++++++++++++++++
  187.  
  188. Organization: Carnegie Mellon, Pittsburgh, PA
  189. Date: Mon,  1 Jun 1992 20:17:56 -0400 
  190. From: Matthew Blain <mb7o+@andrew.cmu.edu>
  191.  
  192. daven@notable.com (Dave Newman) writes:
  193. >>One possible way to begin dealing with this in the future is to put
  194. >>written descriptions of the file in an Apple specified resource within
  195. >>the file's resource fork.
  196.  
  197. jermyr@dcs.qmw.ac.uk (Jeremy Roussak) writes:
  198. >This scheme already exists under system 7. If you include a STR
  199. >resource, id -16396, this is taken to be the name of the
  200. >application for the "this doc couldn't be opened" Finder alert.
  201.  
  202. Not only can you put in a special system-7 identifier of a file type,
  203. but some programs (such as Dreams) identify their files with something
  204. which started in system 6: use the vers id 2 resource. That way when you
  205. 'get info', you see something like 
  206.     house layout
  207.     Dreams family version 1.1
  208. Which looks somewhat weird, but it's better than nothing. 
  209.  
  210. Matthew Blain
  211. mb7o@andrew.cmu.edu
  212.  
  213.  
  214. +++++++++++++++++++++++++++
  215.  
  216. From: daven@notable.com (Dave Newman)
  217. Date: 2 Jun 92 23:02:24 GMT
  218. Organization: Notable Technologies, Inc.
  219.  
  220.  
  221. In article <1992Jun01.144636.14632@cs.cmu.edu> (comp.sys.mac.apps,comp.sys.mac.programmer), chandhok+@cs.cmu.edu (Ravinder Chandhok) writes:
  222. | Uh.  Read Inside Mac Volume VI - there are two STR resources you can stuff
  223. | into a document. Id -16396 is the name of the application that created the
  224. | doc, and -16397 is a custom message to display if the app is not found.  See
  225. | pages 9-21,9-22.
  226. | The future is today!
  227.  
  228. Good!  I had a feeling this was the case, but since I don't keep a
  229. set of Inside Mac volumes here at work, I couldn't verify my hunch.
  230.  
  231. Thanks for spotting this.
  232.  
  233. Now, if people besides Apple were to start using this...    :-)
  234.  
  235. - --Dave
  236.  
  237. - -----------------------------------------------------------
  238. Dave Newman                 |  AOL:      AFC Tinman
  239. Artillery Spotter           |  CIS:      70743,3323
  240. Notable Technologies, Inc.  |  internet: daven@notable.com
  241. 510.208.4449                |  FAX:      510.444.4493
  242. - -----------------------------------------------------------
  243.  
  244. +++++++++++++++++++++++++++
  245.  
  246. From: alexr@apple.com (Alexander M. Rosenberg)
  247. Date: 3 Jun 92 20:42:26 GMT
  248. Organization: Hackers Anonymous
  249.  
  250. In article <01058004.4tt0pv@oberon.notable.com>, daven@notable.com (Dave Newman) writes:
  251. > In article <D2150039.4p284f@udwarf.tymnet.com> (comp.sys.mac.apps), carl@udwarf.tymnet.com (Carl Baltrunas & Cherie Marinelli 1.5v4) writes:
  252. > | I don't know that users "care" all that much.  But, If I have a document that
  253. > | was written in MS Word and I want to read it in WordPerfect, or some other
  254. > | word processor program, I can't double-click on it.  I can't even easily tell
  255. > | my system that when I double click on a Word document run this other thing...
  256. > | (without understudy, that is) and if Word exists on my system, I don't know if
  257. > | understudy is even invoked... I thought it was only IF the document processor
  258. > | is NOT present.
  259. > | 
  260. > | Anyway, since the creator/type very often says WHAT is going to be called up
  261. > | when you want something else... and what mode to read the file, it is important.
  262. > | Even on mainframes... the idea of type has been present for years....  The Mac
  263. > | has come a long way in some senses.. with TEXT and PICT resources that can be
  264. > | read by many different programs.
  265. > | 
  266. > | But, it's not there yet that everything can read everything else... so creator
  267. > | and type are of concern for awhile yet to come....
  268. > Let me clarify my point. The present scheme is not sufficient for
  269. > most people.
  270. > I can't believe that 'WDBN' or 'DFBC' are really meaningful to people.
  271. > Who would want to carry around in their skull a list of these 4 letter
  272. > codes.
  273. > The scheme we have, has been lazily adopted from the OS's internal
  274. > mechanism for tracking file ownership and type. I don't believe it
  275. > was ever Apple's intention to have people (other than programmers)
  276. > aware of these codes.
  277.  
  278. Inside Mac Volume III page 9 says: "Note: Signatures and file types may be
  279. strange, unreadble combinations of characters; they're never seen by end
  280. users of Macintosh."
  281.  
  282. Inside Mac Volume VI page 2-13 says: "In particular, don't use file type
  283. names to refer to Finder documents that users see. Call documents by the
  284. terms that appear in the Kind column in Finder windows."
  285.  
  286. Inside Mac Volume VI page 9-8 says: "...Since the system software never
  287. displays signatures and file types to users, signatures and file types
  288. can consist of character combinations that are incomprehensible to
  289. anyone but you."
  290.  
  291. I would advise ignoring the last part and carefully picking your signatures
  292. and file types to be as clear as possible. Macintosh PC Exchange displays
  293. file types to users. (Although it also displays the matching icon for the
  294. file type, that was deemed as not enough information to distinguish between
  295. the differing file types you may be mapping MS-DOS files to.
  296.  
  297. - ---------------------------------------------------------------------------
  298. - -  Alexander M. Rosenberg  - INTERNET: alexr@apple.com      - Yoyodyne    -
  299. - -  330 Waverley St., Apt B - UUCP:ucbvax!apple!alexr        - Propulsion  -
  300. - -  Palo Alto, CA 94301     -                                - Systems     -
  301. - -  (415) 329-8463          - Nobody is my employer so       - :-)         -
  302. - -  (408) 974-3110          - nobody cares what I say.       -             -
  303.  
  304. +++++++++++++++++++++++++++
  305.  
  306. From: lim@iris.ucdavis.edu (Lloyd Lim)
  307. Date: 5 Jun 92 14:10:33 GMT
  308. Organization: U.C. Davis - Department of Computer Science
  309.  
  310. In article <0e_fso200awKQ8VZli@andrew.cmu.edu> mb7o+@andrew.cmu.edu (Matthew Blain) writes:
  311. >jermyr@dcs.qmw.ac.uk (Jeremy Roussak) writes:
  312. >>This scheme already exists under system 7. If you include a STR
  313. >>resource, id -16396, this is taken to be the name of the
  314. >>application for the "this doc couldn't be opened" Finder alert.
  315. >
  316. >Not only can you put in a special system-7 identifier of a file type,
  317. >but some programs (such as Dreams) identify their files with something
  318. >which started in system 6: use the vers id 2 resource. That way when you
  319. >'get info', you see something like 
  320. >    house layout
  321. >    Dreams family version 1.1
  322. >Which looks somewhat weird, but it's better than nothing. 
  323.  
  324. Wow, someone actually mentioned Dreams?!  Chuck Soper wanted to do this to
  325. identify all the files that come with Dreams, and I told him how to do it.
  326. We disagreed on whether it should be saved in files, but he wrote all the
  327. i/o code...
  328.  
  329. It's good to hear that this is useful for something.  It would look a
  330. little less weird if it said something like "Dreams version 1.1 document".
  331.  
  332. +++
  333. Lloyd Lim               Internet: lim@cs.ucdavis.edu
  334. 224 Lysle Leach Hall    America Online: LimUnltd
  335. U.C. Davis              AppleLink: LimUnltd
  336. Davis, CA  95616        CompuServe: 72647,660
  337.  
  338. ---------------------------
  339.  
  340. From: morgan@hydra3b.cs.utk.edu (Robert Withers Morgan)
  341. Subject: NEW Inside Macintosh
  342. Date: 2 Jun 92 14:48:12 GMT
  343. Organization: Computer Science Dept, University of Tennesee, Knoxville
  344.  
  345. I just picked up the new (2nd) edition of Dave Mark and Cartwright Reed's
  346. Macintosh C Programming Primer, and found the following information in Appendix H:
  347.  
  348. *** New Inside Macintosh Series *** (Apple Computer, Inc, Addison-Wesley)
  349.  
  350. Format:
  351.   Inside Macintosh Title (Availability) - Description:
  352.  
  353. ************************************************************************
  354.  
  355. Overview (Fall 1992) - Introduces New Inside Macintosh and provides
  356.   an overview of Macintosh programming fundamentals.
  357.  
  358. Macintosh Toolbox Essentials (Fall 1992) - Describes how to implement
  359.   essential user interface components in Macintosh applications.
  360.  
  361. More Macintosh Toolbox (Winter 1992) - covers the Help, List, Resource,
  362.   Scrap, and Sound Managers, the Control Panel, and sound input.
  363.  
  364. Files (Fall 1992) - Covers all aspects of file handling.  Detailed
  365.   information on the File Manager, Alias Manager, and disk initialization.
  366.  
  367. Processes (Fall 1992) - Covers procedural functions such as starting
  368.   up and shutting down, deferred tasks, and interrupts.
  369.  
  370. Memory (Fall 1992) - Covers all aspects of memory, including the Memory
  371.   Manager, Virtual Memory Manager, and memory management utilities.
  372.  
  373. Operating System Utilities (Winter 1992) - Covers date and time, error
  374.   handling, PRAM, and Toolbox utilities.
  375.  
  376. Text (Winter 1992) - Covers Font, Script, Dictionary, and Text Services
  377.   Managers, QuickDraw Text, TextEdit, Keyboard Resources, and an extensive discussion of International Resources.
  378.  
  379. Imaging (Fall 1992) - Covers 32-bit QuickDraw, working with color, and
  380.   picture utilites.
  381.  
  382. Interapplication Communication (Winter 1992) - Discusses in-depth 
  383.   collabortive computing, plus chapters describing the AppleEvent, and
  384.   Edition Managers, and the PPC Toolbox.
  385.  
  386. QuickTime Movie Toolbox (Spring 1993) - Describes all the QuickTime 
  387.   Toolbox utilities.
  388.  
  389. QuickTime Components (Spring 1993) - Describes how to use QuickTime
  390.   component such as clock components, image compressors, movie controller,
  391.   sequence grabbers, and video digitizers.
  392.  
  393. Networking (Spring 1993) - Describes how to write software that uses
  394.   AppleTalk networking protocols.
  395.  
  396. Communications (Spring 1993) - Covers the Data Access Manager and
  397.   Communications Toolbox.
  398.  
  399. Devices (Spring 1993) - Covers the Device, SCSI, Power, Compent, Serial,
  400.   
  401. All titles fall under the heading 
  402. All titles fall under the heading and Slot Managers, writing a device driver, and the Apple Desktop Bus.
  403.  
  404. +++++++++++++++++++++++++++
  405.  
  406. From: ccb@wam.umd.edu (Chrome Cboy)
  407. Organization: University of Maryland at College Park
  408. Date: Tue, 2 Jun 1992 18:06:58 GMT
  409.  
  410. In article <l2n2hcINNg0r@utkcs2.cs.utk.edu> morgan@hydra3b.cs.utk.edu (Robert Withers Morgan) writes:
  411. >I just picked up the new (2nd) edition of Dave Mark and Cartwright Reed's
  412. >Macintosh C Programming Primer, and found the following information in Appendix H:
  413. >
  414. >*** New Inside Macintosh Series *** (Apple Computer, Inc, Addison-Wesley)
  415.  
  416. Wow! Hey, DTS--you sly guys, you! You couldn't even drop us any hints, huh...
  417. :-) Well, now that the dogcow's out of the bag, how about some ISBN numbers
  418. so I can get my order in?
  419.  
  420. And what's this about Appendix H??? My copy only has through Appendix B (source
  421. code listings). Did my copy get an Appendectomy?
  422. - -- 
  423. "Seeing much, suffering much            -Blake Sobiloff (ccb@wam.umd.edu)
  424. and studying much, are the               Human-Computer Interaction Lab
  425. three pillars of learning."              Department of Psychology
  426.          -Disraeli                       University of Maryland
  427.  
  428. +++++++++++++++++++++++++++
  429.  
  430. From: grobbins@Apple.COM (Grobbins)
  431. Date: 2 Jun 92 20:08:13 GMT
  432. Organization: Apple DTS
  433.  
  434. In article <1992Jun2.180658.23001@wam.umd.edu> ccb@wam.umd.edu (Chrome Cboy) writes:
  435. >Wow! Hey, DTS--you sly guys, you! You couldn't even drop us any hints, huh...
  436.  
  437. Hints?  Heck, drafts of the first chapters completed have been on the
  438. Developer CD for most of the past year.  On the May '92 CD, it's in the
  439. folder
  440.  
  441.   Developer Essentials
  442.     Technical Docs
  443.       Inside Macintosh
  444.         New Inside Mac - draft
  445.  
  446.  
  447. Grobbins             grobbins@apple.com
  448.  
  449. Usual disclaimer apply.
  450.  
  451. +++++++++++++++++++++++++++
  452.  
  453. From: keith@taligent.com (Keith Rollin)
  454. Date: 2 Jun 92 21:34:17 GMT
  455. Organization: Taligent
  456.  
  457. In article <68046@apple.Apple.COM>, grobbins@Apple.COM (Grobbins) writes:
  458. > In article <1992Jun2.180658.23001@wam.umd.edu> ccb@wam.umd.edu (Chrome Cboy)
  459. writes:
  460. > >Wow! Hey, DTS--you sly guys, you! You couldn't even drop us any hints, huh...
  461. > Hints?  Heck, drafts of the first chapters completed have been on the
  462. > Developer CD for most of the past year.  On the May '92 CD, it's in the
  463. > folder
  464. >   Developer Essentials
  465. >     Technical Docs
  466. >       Inside Macintosh
  467. >         New Inside Mac - draft
  468.  
  469. Yeah, really Blake, get with the program   :-)  And even if you don't get the
  470. CD's, there's been talk about the new books up here for several months at least.
  471.  
  472. - --
  473. Keith Rollin
  474. Phantom Programmer
  475. Taligent, Inc.
  476.  
  477.  
  478. +++++++++++++++++++++++++++
  479.  
  480. From: ccb@wam.umd.edu (Chrome Cboy)
  481. Organization: University of Maryland at College Park
  482. Date: Thu, 4 Jun 1992 03:38:49 GMT
  483.  
  484. In article <68052@apple.Apple.COM> keith@taligent.com (Keith Rollin) writes:
  485. >In article <68046@apple.Apple.COM>, grobbins@Apple.COM (Grobbins) writes:
  486. >> In article <1992Jun2.180658.23001@wam.umd.edu> ccb@wam.umd.edu (Chrome Cboy)
  487. >writes:
  488. >> >Wow! Hey, DTS--you sly guys, you! You couldn't even drop us any hints, huh...
  489. >> 
  490. >> Hints?  Heck, drafts of the first chapters completed have been on the
  491. >> Developer CD for most of the past year.  On the May '92 CD, it's in the
  492. >> folder
  493. >>   Developer Essentials
  494. >>     Technical Docs
  495. >>       Inside Macintosh
  496. >>         New Inside Mac - draft
  497. >Yeah, really Blake, get with the program   :-)  And even if you don't get the
  498. >CD's, there's been talk about the new books up here for several months at least.
  499.  
  500. Fine, guys, cruicify me because I've been a psychology-weeney for the past
  501. year and can't afford the Developer CD's! :-) :-) :-) Now, if one of you two
  502. wanted to hire me for the summer so I could actually do some programming
  503. again... :-P
  504. - -- 
  505. "Seeing much, suffering much            -Blake Sobiloff (ccb@wam.umd.edu)
  506. and studying much, are the               Human-Computer Interaction Lab
  507. three pillars of learning."              Department of Psychology
  508.          -Disraeli                       University of Maryland
  509.  
  510. +++++++++++++++++++++++++++
  511.  
  512. From: Michael_Hecht@mac.sas.com (Michael Hecht)
  513. Date: Fri, 5 Jun 1992 14:09:50 GMT
  514. Organization: SAS Institute Inc.
  515.  
  516. In article <68046@apple.Apple.COM>, grobbins@Apple.COM (Grobbins) writes:
  517. > On the May '92 CD, [the draft copy of the new Inside Mac is] in the
  518. > folder
  519. >   Developer Essentials
  520. >     Technical Docs
  521. >       Inside Macintosh
  522. >         New Inside Mac - draft
  523.  
  524. Speaking of the draft Inside Mac chapters on the Dev.CD, has anyone
  525. successfully printed them to a LaserWriter?
  526.  
  527. I've been trying to print the Apple Event Manager chapter from the
  528. Collaborative Computing book, and it goes along just fine until it
  529. hits a page with a figure. Then PrintMonitor just sits there forever
  530. saying "processing job," and the LaserWriter's green light just keeps
  531. flashing. If I cancel the job, PrintMonitor goes away, but the Laser-
  532. Writer never wakes up--I have to power it down and back up again.
  533.  
  534. If I start printing again from the page that it freaked on, I can some-
  535. times get it to work, but I have encountered pages that won't print
  536. ever (page 2-14 of Collaborative Computing, for example).
  537.  
  538. I'm printing from a Macintosh II with 5 MB RAM running System 7.0.1* to
  539. a LaserWriter II NT. Any hints on what I can try? I thought about playing
  540. with the Viewer's memory partition, but since it's getting the stuff out
  541. to the printer driver, I didn't think that would have much effect. The
  542. problem seems to be in PrintMonitor, the LaserWriter driver, or the Laser-
  543. Writer (hardware) itself.
  544.  
  545. So is this a bug or a feature? (Apple's way of ensuring that we buy the
  546. real book when it comes out. :-)
  547.  
  548. - --Michael
  549.  
  550. =======================================================================
  551. Michael P. Hecht                 | Internet:  Michael_Hecht@mac.sas.com
  552. SAS Institute Inc.; Cary, NC USA | AppleLink: SAS.HECHT
  553.  
  554. ---------------------------
  555.  
  556. From: dave@gergo.tamu.edu (Dave Martin)
  557. Subject: THINK P - Making an App Drag-n-Drop'able
  558. Date: 2 Jun 92 20:27:00 GMT
  559. Organization: Geochemical & Environmental Research Group, Texas A&M University
  560.  
  561. In THINK Pascal, how do you make an app capable of opening a file that
  562. is dragged onto it (or, for that matter, an owned file that is double-
  563. clicked)? I would assume that I'll need to have some sort of check
  564. before the main event loop, but how do you tell the program that it
  565. needs to open a file at launch? Or, at the least, where could I find
  566. the info?
  567.  
  568. Thanks in advance. 
  569.  
  570.  -                                                                     -
  571.  - Dave Martin - Geochemical & Environmental Research Group, Texas A&M - 
  572.  - DAVE@GERGA[GERGO,GERGI].TAMU.EDU - BROOKS@TAMVXOCN.BITNET - AOL:DBM -
  573.  -                                                                     -
  574.  
  575. +++++++++++++++++++++++++++
  576.  
  577. From: keith@taligent.com (Keith Rollin)
  578. Date: 2 Jun 92 21:27:42 GMT
  579. Organization: Taligent
  580.  
  581. In article <2JUN199214270515@gergo.tamu.edu>, dave@gergo.tamu.edu (Dave Martin)
  582. writes:
  583. > In THINK Pascal, how do you make an app capable of opening a file that
  584. > is dragged onto it (or, for that matter, an owned file that is double-
  585. > clicked)? I would assume that I'll need to have some sort of check
  586. > before the main event loop, but how do you tell the program that it
  587. > needs to open a file at launch? Or, at the least, where could I find
  588. > the info?
  589.  
  590. Read anything you can on FREF resources in Inside Mac. Volume VI, chapter 9 is a
  591. good place to start, especially page 9-15 and thereabouts.
  592.  
  593. - --
  594. Keith Rollin
  595. Phantom Programmer
  596. Taligent, Inc.
  597.  
  598. +++++++++++++++++++++++++++
  599.  
  600. From: mxmora@unix.SRI.COM (Matt Mora)
  601. Date: 3 Jun 92 15:29:45 GMT
  602. Organization: SRI International, Menlo Park, California
  603.  
  604. In article <68051@apple.Apple.COM> keith@taligent.com (Keith Rollin) writes:
  605. >In article <2JUN199214270515@gergo.tamu.edu>, dave@gergo.tamu.edu (Dave Martin)
  606. >writes:
  607.  
  608. >> In THINK Pascal, how do you make an app capable of opening a file that
  609. >> is dragged onto it (or, for that matter, an owned file that is double-
  610. >> clicked)? I would assume that I'll need to have some sort of check
  611. >> before the main event loop, but how do you tell the program that it
  612. >> needs to open a file at launch? Or, at the least, where could I find
  613. >> the info?
  614.  
  615. >Read anything you can on FREF resources in Inside Mac. Volume VI, chapter 9 
  616. >is a good place to start, especially page 9-15 and thereabouts.
  617.  
  618. Keith, I think he's missing the code to open the files since he mentions
  619. the owned file opening also.
  620.  
  621. Under system 6 you use the CountAppFiles/Getappfiles routines. In system
  622. 7, you want to support the core apple events to get this to work. But the
  623. old method still works under system seven as long as you don't set
  624. the apple event bit in the size resource.
  625.  
  626. After that works, you can then change the FREF's of your app to tell
  627. the finder what kind of documents you can open. The "****" is the
  628. magic string for opening any type of document.
  629.  
  630. Matt
  631.  
  632. - -- 
  633. ___________________________________________________________
  634. Matthew Mora                |   my Mac  Matt_Mora@sri.com
  635. SRI International           |  my unix  mxmora@unix.sri.com
  636. ___________________________________________________________
  637.  
  638. +++++++++++++++++++++++++++
  639.  
  640. From: dave@gergo.tamu.edu (Dave Martin)
  641. Organization: Geochemical & Environmental Research Group, Texas A&M University
  642. Date: Thu, 4 Jun 1992 12:21:00 GMT
  643.  
  644. In article <35629@unix.SRI.COM>, mxmora@unix.SRI.COM (Matt Mora) writes...
  645. >Under system 6 you use the CountAppFiles/Getappfiles routines. In system
  646. >7, you want to support the core apple events to get this to work. But the
  647. >old method still works under system seven as long as you don't set
  648. >the apple event bit in the size resource.
  649.  
  650. Thanks -- that's exactly what I needed. Not knowing what to look under
  651. in SpInside Mac, and certainly not thinking to look in the Segment
  652. Loader chapter for this, it would have taken me ages to find it. Just
  653. the proc call names was enough to search and locate the descriptions.
  654.  
  655. The app has to work with System 6 (it's a utility to supplement the new
  656. version of the America Online software), but wanted it to accept dropped
  657. files as well since the file type that it opens would probably not be
  658. owned by my app.
  659.  
  660. Thanks again. 
  661.  
  662.  -                                                                     -
  663.  - Dave Martin - Geochemical & Environmental Research Group, Texas A&M - 
  664.  - DAVE@GERGA[GERGO,GERGI].TAMU.EDU - BROOKS@TAMVXOCN.BITNET - AOL:DBM -
  665.  -                                                                     -
  666.  
  667. ---------------------------
  668.  
  669. From: liran@bimacs.BITNET (Eshel Liran)
  670. Subject: Problems in rebuilding MacApp -debug
  671. Date: 2 Jun 92 10:15:40 GMT
  672. Organization: Math & CS, BarIlan U, Ramat-Gan, Israel
  673.  
  674. Recently I tried rebuilding my macapp library, and was surprised to find out
  675. that it wouldn't compile it in debug mode.
  676. The problem was that the compiler directive qMPW31 was set TRUE, although
  677. I am using MPW 3.2 .
  678. I set it to FALSE and it ran smooth, but I don't get it, what went wrong ?
  679. Is it a known bug, or was there something wrong in my installation of MPW ?
  680.  
  681. Liran Eshel
  682. Bar-Ilan University, ISRAEL
  683. liran@bimacs.cs.biu.ac.il
  684.  
  685.  
  686. +++++++++++++++++++++++++++
  687.  
  688. From: ksand@apple.com (Kent Sandvik)
  689. Date: 5 Jun 92 01:40:49 GMT
  690. Organization: MacDTS Mongols
  691.  
  692. In article <3892@bimacs.BITNET>, liran@bimacs.BITNET (Eshel Liran) writes:
  693. > Recently I tried rebuilding my macapp library, and was surprised to find out
  694. > that it wouldn't compile it in debug mode.
  695. > The problem was that the compiler directive qMPW31 was set TRUE, although
  696. > I am using MPW 3.2 .
  697. > I set it to FALSE and it ran smooth, but I don't get it, what went wrong ?
  698. > Is it a known bug, or was there something wrong in my installation of MPW ?
  699.  
  700. It's documented in the documentation. Also, MacApp 2.0.1 is officially
  701. *not* supported with MPW 3.2. Works anyway.
  702. - --
  703.                                               Cheers, Kent
  704.  
  705.  
  706. ---------------------------
  707.  
  708. From: ww10+@andrew.cmu.edu (William Conrad Wojciechowski)
  709. Subject: 'Application Zone is Damaged'
  710. Date: 3 Jun 92 19:56:22 GMT
  711. Organization: H&SS Dean's Office, Carnegie Mellon, Pittsburgh, PA
  712.  
  713. Hi,
  714.  
  715. I am using Think Pascal 4.0 on a Quadra 700 with System 7.0.1.  When I
  716. compile any program, even the examples from Think Pascal,  I get the
  717. message 'Application Zone is damaged, proceed with caution'.  Any
  718. information on what could be causing this would be appreciated.
  719.  
  720. Thank you.
  721.  
  722. +++++++++++++++++++++++++++
  723.  
  724. From: siegel@world.std.com (Rich Siegel)
  725. Organization: GCC Technologies
  726. Date: Thu, 4 Jun 1992 01:00:18 GMT
  727.  
  728. In article <0e=GDaS00WBO45=0s6@andrew.cmu.edu> ww10+@andrew.cmu.edu (William Conrad Wojciechowski) writes:
  729. >Hi,
  730. >
  731. >I am using Think Pascal 4.0 on a Quadra 700 with System 7.0.1.  When I
  732. >compile any program, even the examples from Think Pascal,  I get the
  733. >message 'Application Zone is damaged, proceed with caution'.  Any
  734. >information on what could be causing this would be appreciated.
  735.  
  736. This message occurs when you run, not when you compile. In any case, the
  737. problem can be fixed by obtaining and applying the THINK Pascal 4.0.1
  738. patcher program.
  739.  
  740. R.
  741.  
  742.  
  743.  
  744. - -- 
  745. - -----------------------------------------------------------------------
  746. Rich Siegel                              Internet: siegel@world.std.com
  747. Software Engineer & Toolsmith
  748. GCC Technologies
  749.  
  750. +++++++++++++++++++++++++++
  751.  
  752. From: mgraf@sydvm1.VNET.IBM.COM (Michael Graf)
  753. Date: Thu, 4 Jun 92 16:12:28 EST
  754. Organization: Australian Programming Centre (IBMA)
  755.  
  756. In <0e=GDaS00WBO45=0s6@andrew.cmu.edu> William Conrad Wojciechowski writes:
  757. >Hi,
  758. >
  759. >I am using Think Pascal 4.0 on a Quadra 700 with System 7.0.1.  When I
  760. >compile any program, even the examples from Think Pascal,  I get the
  761. >message 'Application Zone is damaged, proceed with caution'.  Any
  762. >information on what could be causing this would be appreciated.
  763. >
  764. >Thank you.
  765. >
  766.  
  767.   This problem can also be caused by the older versions of Gatekeeper, the
  768. shareware Virus protection system. Upgrade to the newest version (if you are
  769. using it) and the problem disappears.
  770.  
  771.   As an aside, you should also upgrade your THINK Pascal to 4.01, using the
  772. upgrade kit available on SUMEX.
  773.  
  774. **********************************************************************
  775. Regards,
  776.   Michael Graf                             (mgraf@sydvm1.vnet.ibm.com)
  777. **********************************************************************
  778.  
  779. ---------------------------
  780.  
  781. From: jeremyr@dcs.qmw.ac.uk (Jeremy Roussak)
  782. Subject: System fonts and scripts
  783. Date: 3 Jun 92 19:47:38 GMT
  784. Organization: Computer Science Dept, QMW, University of London
  785.  
  786. What's the best way of finding out whether a font, whose name
  787. and number I have, is the system font? Under ordinary,
  788. English/American Roman script, it's easy: the font has number
  789. zero.  However, under non-Roman scripts, this isn't the case:
  790. under a Japanese system, the system font is Osaka, which has id
  791. $4000.
  792.  
  793. So, how do I tell? Is the bottom word always zero?
  794.  
  795. Post or email, I don't mind.  Thanks.
  796.  
  797. Jeremy
  798.  
  799. +++++++++++++++++++++++++++
  800.  
  801. From: nerm@apple.com (Dean Yu)
  802. Date: 4 Jun 92 21:16:23 GMT
  803. Organization: Apple Computer, Inc.
  804.  
  805. In article <1992Jun3.194738.13300@dcs.qmw.ac.uk>, jeremyr@dcs.qmw.ac.uk (Jeremy Roussak) writes:
  806. > What's the best way of finding out whether a font, whose name
  807. > and number I have, is the system font? Under ordinary,
  808. > English/American Roman script, it's easy: the font has number
  809. > zero.  However, under non-Roman scripts, this isn't the case:
  810. > under a Japanese system, the system font is Osaka, which has id
  811. > $4000.
  812. > So, how do I tell? Is the bottom word always zero?
  813. > Post or email, I don't mind.  Thanks.
  814.  
  815.   The resource ID range for 'FOND' resources has been divided into ranges for a
  816. particular script.  For the Roman fonts will be in the range 0 through 16383.  There
  817. are further subdivisions of this range, which I don't remember the full details of.
  818. (There's a range reserved by Apple, another range reserved for renumbering families
  819. when ID conflicts occur, etc.)
  820.   For script systems with script codes between 1 and 32, you can derive the ID range
  821. for a script by the formula 16384 + 512 * (script code - 1).
  822.   For script systems with script codes between 33 and 64 (there aren't any of these
  823. yet) you can get the range by the formula -32768 + 512 * (script code - 33).
  824.  
  825.   Of course, whether a particular font in question follows this convention is
  826. another story.  I just ran across a Japanese font yesterday that the system thought
  827. belonged to the Gujaraiti script system because it was in the wrong range...
  828.  
  829.   -- Dean Yu
  830.      Blue Meanie, Negative Ethnic Role Model
  831.      Apple Computer, Inc.
  832.      blah blah blah blah...
  833.  
  834. ---------------------------
  835.  
  836. From: pawliw@bnr.ca (Ken Pawliw)
  837. Subject: flushing the sys7 disk cache?
  838. Date: 3 Jun 92 20:29:27 GMT
  839. Organization: Bell-Northern Research
  840.  
  841. >From IM VI, sec. 28-10
  842. "In system software version 7.0, unlike earlier versions, the user cannot
  843.  turn off disk caching."
  844.  
  845. Why?  Does the system ensure that the cache is flushed to disk?
  846. Is the cache flush done after flushing the file or flushing the volume,
  847. or what can I do to ensure this programatically?  
  848.  
  849. - --
  850. Ken Pawliw  <pawliw@bnr.ca>
  851.  
  852. +++++++++++++++++++++++++++
  853.  
  854. From: jcav@quads.uchicago.edu (JohnC)
  855. Organization: The Royal Society for Putting Things on Top of Other Things
  856. Date: Wed, 3 Jun 1992 21:27:01 GMT
  857.  
  858. In article <1992Jun3.202927.5629@bwdls61.bnr.ca> pawliw@bnr.ca (Ken Pawliw) writes:
  859. >>From IM VI, sec. 28-10
  860. >"In system software version 7.0, unlike earlier versions, the user cannot
  861. > turn off disk caching."
  862. >
  863. >Why?  Does the system ensure that the cache is flushed to disk?
  864. >Is the cache flush done after flushing the file or flushing the volume,
  865. >or what can I do to ensure this programatically?  
  866.  
  867. I believe that calling _FlushVol has always flushed the Control Panel disk
  868. cache, among other things.
  869.  
  870.  
  871. - -- 
  872. John Cavallino                  |  EMail: jcav@midway.uchicago.edu
  873. University of Chicago Hospitals |         John_Cavallino@uchfm.bsd.uchicago.edu
  874. Office of Facilities Management | USMail: 5841 S. Maryland Ave, MC 0953
  875. B0 f++ c+ g+ k s++ e+ h- pv     |         Chicago, IL  60637
  876.  
  877. +++++++++++++++++++++++++++
  878.  
  879. From: keith@taligent.com (Keith Rollin)
  880. Date: 4 Jun 92 20:00:32 GMT
  881. Organization: Taligent
  882.  
  883. In article <1992Jun3.202927.5629@bwdls61.bnr.ca>, pawliw@bnr.ca (Ken Pawliw)
  884. writes:
  885. > >From IM VI, sec. 28-10
  886. > "In system software version 7.0, unlike earlier versions, the user cannot
  887. >  turn off disk caching."
  888. > Why?  Does the system ensure that the cache is flushed to disk?
  889. > Is the cache flush done after flushing the file or flushing the volume,
  890. > or what can I do to ensure this programatically?  
  891.  
  892. IM 6 is slightly misleading in its statement about the cache. Even under System
  893. 6.0.x, you were never able to completely turn off the cache. The File System
  894. always kept a small cache going, even when you set the cache to zero. System 7.0
  895. is just being honest about it.
  896.  
  897. - --
  898. Keith Rollin
  899. Phantom Programmer
  900. Taligent, Inc.
  901.  
  902.  
  903. ---------------------------
  904.  
  905. From: cluther@morticia.cnns.unt.edu (Clay Luther)
  906. Subject: Toolserver for MPW
  907. Date: 3 Jun 92 20:35:45 GMT
  908. Organization: University of North Texas
  909.  
  910. Where may I find the toolserver for MPW 3.2?
  911.  
  912. - -- 
  913. Clay W. Luther                  cluther@morticia.cnns.unt.edu
  914. Macintosh/Unix Programmer for Vortech Data, Inc.
  915. Virtual System Consultant for the UNT Center for Network Neuroscience
  916. (214) 994-1377
  917.  
  918. +++++++++++++++++++++++++++
  919.  
  920. From: ksand@apple.com (Kent Sandvik)
  921. Date: 5 Jun 92 01:38:26 GMT
  922. Organization: MacDTS Mongols
  923.  
  924. In article <cluther.707603745@morticia>, cluther@morticia.cnns.unt.edu (Clay
  925. Luther) writes:
  926. > Where may I find the toolserver for MPW 3.2?
  927.  
  928. >From the ETO CDs. It's not a final product yet, so it's not
  929. an APDA bundle.
  930. - --
  931.                                               Cheers, Kent
  932.  PS: Someone sent us a link asking for that long haired guy
  933. named Kent. My mother always told me I have long hair, however
  934. I think this person has never seen a hacker from Berkeley with
  935. *long* hair.
  936.  
  937. ---------------------------
  938.  
  939. From: topix@gpu.utcs.utoronto.ca (R. Munroe)
  940. Subject: Max files shown in GetFile dialog and Mac video?
  941. Date: 4 Jun 92 01:49:27 GMT
  942. Organization: UTCS Public Access
  943.  
  944.  
  945. I'm writing an app that will need to access numerous files at a time.
  946. Just as a test, I hacked out a routine that created 1500 null size files
  947. in a folder and then used a standard get file routine to open the folder
  948. in order to select a file.  As I expected, only about 700-800 of the files
  949. where displayed in the dialog (they all had relatively short names - 10 chars).
  950.  
  951. The question is: does anyone know of any code that will show more than 1000
  952. files in a folder.  A bad workaround is to let the user select the folder
  953. only, and let my app do its stuff to all the files in the selected folder,
  954. but that's sort of restrictive (e.g. what if the user wants to work on
  955. only the first 500 files in the folder?).
  956.  
  957. For the curious:  the reason I need to work on such a large number of files
  958. is for video.  If the Mac world is really serious about video, then Apple
  959. has to realize that people in the digital video world (i.e. animators, editors,
  960. etc) work with hundreds and sometimes thousands of files at a time (for
  961. image processing, recording to video tape, and so on). I guess I kind of 
  962. take that all for granted using Silicon Graphics workstations.
  963.  
  964. Along the same lines:  I noticed a thread here a few weeks ago in which 
  965. someone asked how to write a file filter that showed only files that
  966. ended in a certain suffix.  Someone from Apple posted back and said that
  967. that was a UI no-no because the Mac identifies files by creator and file type.
  968. That's all fine and dandy, but once again, not entirely appropriate in 
  969. today's networked world.  Here's a good example:  i wrote a Photoshop plug-in
  970. that imports and exports Abekas files.  I have NFS/Share (absolutely fantastic
  971. product) running on my Mac and I mount my Silicon Graphics hard disks on the
  972. Mac desktop.  Since unix doesn't use file type indentification, I want my 
  973. plug-in to show the user only those files that end in .yuv.  This brings us
  974. back to my original subject - if I have produced a 30 second animation
  975. (standard TV commercial length), I can't see all 900 files in a standard 
  976. file dialog.  Poo.
  977.  
  978. In summary:  If Apple wants to truly address the video market, they are really
  979. going to re-think some of their Mac OS philosophies.
  980.  
  981. Bob Munroe
  982.  
  983.  
  984. - -- 
  985. John Mariella                             :Internet:   topix@utcs.utoronto.ca
  986. Animation Director                         
  987. TOPIX Computer Graphics + Animation, Inc.  
  988.  
  989. +++++++++++++++++++++++++++
  990.  
  991. From: dorner@pequod.cso.uiuc.edu (Steve Dorner)
  992. Date: 4 Jun 92 13:46:24 GMT
  993. Organization: University of Illinois at Urbana-Champaign
  994.  
  995. topix@gpu.utcs.utoronto.ca (R. Munroe) writes:
  996. >The question is: does anyone know of any code that will show more than 1000
  997. >files in a folder.
  998. >
  999. >For the curious:  the reason I need to work on such a large number of files
  1000. >is for video.
  1001.  
  1002. I (as a user) wouldn't want to use Standard File to pick from amongst
  1003. 1000 files anyway.  This seems like a prime candidate for some creative
  1004. user interface design.
  1005.  
  1006. Knowing nothing about the video business, it's impossible for me to say
  1007. what that creative UI might be, but there's gotta be a better way than
  1008. giving the user a flat list of >1000 items to pick from.  If there isn't,
  1009. my condolences to video producers everywhere...
  1010. - -- 
  1011. Steve Dorner, U of Illinois Computing Services Office
  1012. Internet: s-dorner@uiuc.edu  UUCP: uunet!uiucuxc!uiuc.edu!s-dorner
  1013.  
  1014. +++++++++++++++++++++++++++
  1015.  
  1016. From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
  1017. Date: 4 Jun 92 17:11:37 GMT
  1018. Organization: Kalamazoo College
  1019.  
  1020. topix@gpu.utcs.utoronto.ca (R. Munroe) writes:
  1021. >
  1022. >The question is: does anyone know of any code that will show more than 1000
  1023. >files in a folder.
  1024.  
  1025. No.  But it's not like it'd be hard to write.
  1026.  
  1027. >A bad workaround is to let the user select the folder
  1028. >only, and let my app do its stuff to all the files in the selected folder,
  1029. >but that's sort of restrictive (e.g. what if the user wants to work on
  1030. >only the first 500 files in the folder?).
  1031.  
  1032. Then the user could put those files in a subfolder, to name one
  1033. possibility.
  1034.  
  1035. >If the Mac world is really serious about video, then Apple
  1036. >has to realize that people in the digital video world (i.e. animators, editors,
  1037. >etc) work with hundreds and sometimes thousands of files at a time
  1038. >...if I have produced a 30 second animation
  1039. >(standard TV commercial length), I can't see all 900 files in a standard 
  1040. >file dialog.  Poo.
  1041.  
  1042. And if you're really serious about programming for video, you'll write 
  1043. the code that it will take to give your users a real UI to work with
  1044. those thousands of files.  There are lots of possibilities.
  1045.  
  1046. The "Don't Abuse the Managers" Tech Note applies here, except to the
  1047. Standard File calls.  If the toolbox doesn't work for you, no one will
  1048. stop you from writing better routines.
  1049.  
  1050. Incidentally, I would _not_ want to use your program if I have to scroll
  1051. through a list of 1,000 files to pick out out at a time.  You'd better
  1052. provide multiple discontinuous selection, regex selection, selection by
  1053. date and time, and selection by file size, for starters.
  1054.  
  1055. >Since unix doesn't use file type indentification, I want my 
  1056. >plug-in to show the user only those files that end in .yuv.
  1057.  
  1058. The best solution is to scan for .yuv files that have whatever
  1059. type/creator they have when you bring them over from the other computer,
  1060. and give them an appropriate type and creator.  I have exactly the same
  1061. problem here, except with dozens instead of hundreds of files.  I put a
  1062. "Convert Files" button into the SFGetFile box--it works like a charm.
  1063.  
  1064. >In summary:  If Apple wants to truly address the video market, they are really
  1065. >going to re-think some of their Mac OS philosophies.
  1066.  
  1067. This is a UI question.  The File Manager is not at fault;  the Standard
  1068. File calls are.  There are no built-in limitations.  Apple can't
  1069. possibly give you the UI you need in this case, so their philosophy is
  1070. (and should be) that it's up to you.
  1071. - -- 
  1072.  Jamie McCarthy     Internet: k044477@kzoo.edu     AppleLink: j.mccarthy
  1073.  Never make MENU resources purgeable.
  1074.  
  1075. +++++++++++++++++++++++++++
  1076.  
  1077. From: mxmora@unix.SRI.COM (Matt Mora)
  1078. Date: 5 Jun 92 18:25:28 GMT
  1079. Organization: SRI International, Menlo Park, California
  1080.  
  1081. In article <1992Jun4.014927.25149@gpu.utcs.utoronto.ca> topix@gpu.utcs.utoronto.ca (R. Munroe) writes:
  1082.  
  1083. >I'm writing an app that will need to access numerous files at a time.
  1084. >Just as a test, I hacked out a routine that created 1500 null size files
  1085. >in a folder and then used a standard get file routine to open the folder
  1086. >in order to select a file.  As I expected, only about 700-800 of the files
  1087. >where displayed in the dialog (they all had relatively short names 10 chars).
  1088.  
  1089. >The question is: does anyone know of any code that will show more than 1000
  1090. >files in a folder.  A bad workaround is to let the user select the folder
  1091. >only, and let my app do its stuff to all the files in the selected folder,
  1092. >but that's sort of restrictive (e.g. what if the user wants to work on
  1093. >only the first 500 files in the folder?).
  1094.  
  1095. Well if I were designing this app I would use some kind of file
  1096. browser interface something like Retrospect. I would include
  1097. wild card grouping and all kinds of file selecting functions. I don't
  1098. think I would use Standard File but it could be done. 
  1099.  
  1100. Maybe you could write a file filter that pre groups things for the user.
  1101. For example: If there were a 500 files and the names were the same
  1102. except there is a number that makes them different (ie macvideo1, macvideo2,
  1103. macvideo3, etc...) Then in the sfdialog would scan the disk and count or group
  1104. the files that are  similar. So in the list the user would see 
  1105. "macvideo[1-500]" or just "macvideo" since the user is not interested in the 
  1106. single frames per se, but wants the whole group.
  1107.  
  1108. This is an isolated case and don't think Apple has to change anything. I think
  1109. it up to you to come out with a useable interface. May the best interface win.
  1110.  
  1111. Matt
  1112.  
  1113.  
  1114. - -- 
  1115. ___________________________________________________________
  1116. Matthew Mora                |   my Mac  Matt_Mora@sri.com
  1117. SRI International           |  my unix  mxmora@unix.sri.com
  1118. ___________________________________________________________
  1119.  
  1120. ---------------------------
  1121.  
  1122. End of C.S.M.P. Digest
  1123. **********************
  1124.